<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html" %>
<html lang="zh-CN">
<head>
    <%@include file="/resource/common/resourceLink.rs" %>
    <title>提现 - 支付宝</title>
</head>
<style>
    .content{
        background-color: rgb(252, 252, 253);
        border: 1px solid rgb(188, 204, 240);
    }
    .top-title{
        padding: 10px 0px;
        border-bottom: 1px solid  rgb(175, 190, 223);
    }
    .chose-bank-card{
        border: 1px solid lightgray;
        margin-top: 6%;
        padding: 10px 5px;
    }

    .input-money,.confirm,.confirm-password{
        margin-top: 3%;
        padding: 10px 5px;
    }

    .chose-bank-card-content,.input-money-content,.confirm-password-contnet, .confirm-content{
        width: 80%;
        margin-left: 5%;
    }

    .confirm-content{
        margin-left:15%;
    }

    #money,#payPassword{
        display: inline;
        width: auto;
    }
</style>
<body>
<div>
	<!-- 顶部导航 -->
	<%@ include file="nav.jsp" %>
    <div class="container-fluid">
        <div class="row" style="margin-top: 7%">
            <div class="col-md-offset-2 col-md-8 content">
                <div class="top-title clearfix">
                    <div class="pull-left">
                        <span><strong style="font-size: 18px;">提取余额</strong></span>
                        <span>余额<strong style="color: orange">${sessionScope.user.balance}</strong>元</span>
                    </div>
                    <div class="pull-right">
                        <ul class="list-inline">
                            <li><a>添加银行卡 | </a></li>
                            <li><a href='<c:url value="record.do"/> '>提现记录 | </a></li>
                            <li><a>下载手机客户端</a><span class="caret"></span></li>
                        </ul>
                    </div>
                </div><!-- ./topTitle -->
                <div class="chose-bank-card">
                    <div class="chose-bank-card-content">
                        <span>选择银行卡：</span>
                        <span>
                            <input type="radio">
                            CG银行
                                                        账户：
                            <label>${cookie.account.value}</label>
                        </span>
                        <span class="bg-primary">快捷</span>
                    </div>
                </div><!-- /.choseBankCard -->
                <form method="post" action='<c:url value="/transaction/withdrawal/index.htm"/>' onsubmit="return checkForm()">
                    <div class="input-money">
                        <div class="input-money-content">
                            <span>提现金额：</span>
                            <span>
                                <input type="text" id="money" name="money" class="form-control" placeholder="输入金额"
                                       data-content="请输入充值金额" value='${transactionForm.money}' />
                                <label>元</label>
                            </span>
                        </div>
                    </div><!-- /.inputMoney -->
                    <div class="confirm-password">
                        <div class="confirm-password-contnet">
                            <span>支付密码：</span>
                            <input type="password" name="password" class="form-control" id="payPassword"
                                   data-content="请输入支付密码">
                        </div>
                    </div><!-- /.confirm-password -->
                    <div class="confirm">
                        <span class="confirm-content">
                            <button type="submit" class="btn btn-warning">确认支付</button>
                            <label>
                            	<html:errors />
                            	${requestScope.result}
                            </label>
                            <nav>
                                <ul class="pager">
                                    <li><a href='<c:url value="/index.htm"/> '>回到主页</a></li>
                                </ul>
                            </nav>
                        </span><!-- /.confirm-content -->
                    </div><!-- /.confirm -->
                </form>
            </div><!-- ./col-md-8 -->
        </div><!-- ./row  -->
    </div>
</div>
</body>
</html>